import request from '@/utils/request'

// 获取运单分页数据
export const getWaybillPage = (data) => {
  return request({
    method: 'post',
    url: '/transport-order-manager/page',
    data
  })
}
// 按钮
export const getTransportCount = () => {
  return request({
    method: 'get',
    url: '/transport-order-manager/count'
  })
}
// 获取运单详情
export const getWaybillInfo = (id) => {
  return request({
    method: 'get',
    url: `/transport-order-manager/${id}`
  })
}
